package com.qbccn.usercenter.mapper;

import com.qbccn.usercenter.domain.UcUser;
import com.qbccn.usercenter.dto.UserInfo;
import com.qbccn.usercenter.vo.UserFindListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linke
 * @date 2020/5/23 20:52
 * @description
 */
public interface UcUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(UcUser record);

    UcUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UcUser record);

    int updateByPrimaryKey(UcUser record);

    UcUser getUser(String username);

    UserInfo getUserInfo(String usernam);

    List<UserFindListVo> getUserFindListVo(@Param("username") String username);
}
